﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Logistics_Management_System.Transportation
{
    public class Route_Repository : ServiceBase
    {
        public LG_Route GetRoutById(int route_id)
        { return (from route in this.DB.LG_Routes where route.Id == route_id select route).FirstOrDefault<LG_Route>(); }
    }
}